package com.chenxin.wms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.chenxin.common.core.domain.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 入库主单对象 wms_ib_master
 *
 * @author gry
 * @date 2025-04-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("wms_ib_master")
public class IbMasterEntity extends WmsBaseEntity {
    /**
     * 主单id
     */
    @TableId(type = IdType.AUTO)
    private Long ibMasterId;

    /**
     * 主单编号
     */
    private String ibMasterNo;

    /**
     * 单据类型
     */
    private String ibMasterType;

    /**
     * 是否ERP导入
     */
    private String fromErp;
    /**
     * 销售订单
     */
    private String ebeln;
    private String aedat;

    private String workOrderNo;
    private String orderNo;
    private String orderType;

    /**
     * 供应商
     */
    private String supplierNo;

    /**
     * 单据状态
     */
    private Integer ibMasterStatus;

    private Long warehouseId;

    /**
     * 乐观锁
     */
    @Version
    private Long version;
}
